package com.lancoo.ccas52.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

/**
 * <p>
 * 专业年级选课上限
 * </p>
 *
 * @author quin.song
 * @since 2023-02-07
 */
@Data
@Accessors(chain = true)
@TableName("css_major_limit")
@ApiModel(value = "CssMajorLimit对象", description = "专业年级选课上限")
public class CssMajorLimit implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    private Integer taskId;

    private Long majorId;

    @ApiModelProperty("1:主修  2：辅修")
    private Integer studyNature;

    @ApiModelProperty("学分上限")
    private Double creditLimit;

    @ApiModelProperty("课程数上限")
    private Integer courseLimit;
}
